package bit.mybatis.dao;

public class HanEnc {
	public static String encode(String str){
		String newstr=null;
		try {
			newstr = new String(str.getBytes("ISO-8859-1"),"euc-kr");
		} catch (Exception e) {
			e.printStackTrace();
		}
		return newstr;
	}
}
